package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.math.BigDecimal;
import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 张拉记录业务对象 tension_recording
 *
 * @author zyb
 * @date 2023-09-11
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TensionRecordingBo extends BaseEntity {

    /**
     * id
     */
    @NotBlank(message = "id不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 编号
     */
//    @NotBlank(message = "编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String code;

    /**
     * 张拉梁型
     */
//    @NotBlank(message = "张拉梁型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String beamType;

    /**
     * 梁号
     */
//    @NotBlank(message = "梁号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String beamNo;

    /**
     * 桩号
     */
//    @NotBlank(message = "桩号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String stake;

    /**
     * 开始张拉时间
     */
//    @NotNull(message = "开始张拉时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date tensionTime;

    /**
     * 张拉人员
     */
//    @NotBlank(message = "张拉人员不能为空", groups = { AddGroup.class, EditGroup.class })
    private String tensionUser;

    /**
     * 起拱度
     */
//    @NotNull(message = "起拱度不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal deflectionUpwards;

    /**
     * 砼设计值（MPA）
     */
//    @NotNull(message = "砼设计值（MPA）不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal concreteDesign;

    /**
     * 砼强度（MPA）
     */
//    @NotNull(message = "砼强度（MPA）不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal concreteStrength;

    /**
     * 张拉加载速度
     */
//    @NotNull(message = "张拉加载速度不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal loadingSpeed;

    /**
     * 张拉加载初应力
     */
//    @NotNull(message = "张拉加载初应力不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal tensileStress;

    /**
     * 工地名称
     */
//    @NotNull(message = "工地名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String baseCode;


    /**
     * 是否合格的状态1合格0不合格
     */
//    @NotNull(message = "是否合格的状态1合格0不合格", groups = { AddGroup.class, EditGroup.class })
    private String status;
    /**
     * 设备编号
     */
    private String deviceNumber;
}
